package com.touzhijia;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 应用启动类
 * <p>
 * 作者：lizw <br/>
 * 创建时间：2017/5/27 11:50 <br/>
 */
@SpringBootApplication
@EnableTransactionManagement
//@ServletComponentScan
@MapperScan(basePackages = "com.touzhijia.scheduler.mapper")
public class StartApp {
    public static void main(String[] args) {
        SpringApplication.run(StartApp.class, args);
    }
}
